home *** CD-ROM | disk | FTP | other *** search
/ The Very Best of Atari Inside / The Very Best of Atari Inside 1.iso / mint / mgr / atari / notes < prev    next >
Text File  |  1990-09-27  |  1KB  |  21 lines

  1. The following changes may be useful for other ports as well, but I've
  2. left them #ifdef atarist (except for defs.h, see below). All the other
  3. #ifdef atarist stuff really is Atari specific.
  4.  
  5. cut.c:
  6.     calling bit_destroy() on bitmaps allocated with static data causes
  7.     problems, since (on the Atari at least) free()ing memory that didn't
  8.     come from malloc() causes corruption of the memory free list
  9. defs.h:
  10.     the only place that isn't #ifdef atarist -- it's #ifdef __STDC__
  11.     instead, because ANSI C does give a portable way of turning a
  12.     macro parameter into a character (gcc was interpreting the definition
  13.     of dprintf() to mean that only the literal character 'x' was meant,
  14.     not the the character given as the parameter to dprintf; I got around
  15.     this by using the ANSI "stringizing" operator #)
  16. get_menu.c:
  17.     declaring save_bits to be "unsigned short" means that not enough
  18.     space is allocated for saving the mouse blip if BITS > 4; this
  19.     shows up as garbage being left behind by the mouse bullet as it
  20.     tracks the mouse in menus
  21.